-
Notifications
You must be signed in to change notification settings - Fork 307
feat: enhance Kubernetes client with watch functionality #1666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Reintroduced Watcher.cs and WatcherExt.cs in the AOT project. - Added FilterParameters and GetParameterValueForWatchCall methods in ParamHelper to support filtering parameters and handling watch calls. - Updated OperationsExtensions template to include new watch methods with appropriate XML documentation for parameters. This update improves the Kubernetes client by enabling watch capabilities for operations, enhancing the overall functionality.
…rWatch and update templates
… adjust templates accordingly
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: lqlive The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…t parameter for improved flexibility
Base on #1662
@tg123 Hi ,This is my initial implementation. Could you help me see how much it differs from your ideas?
During my implementation, I thought of two issues:
1.Can the
ListNamespacedPodWithHttpMessagesAsync
method be set as protected or private to prevent external access?2.Replace the tuple
(WatchEventType, V1Pod)
inIAsyncEnumerable<(WatchEventType, V1Pod)>
with a new type, such as: